/*年轻人，只管向前看，不要管自暴自弃者的话*/
package com.znb.okdown.flutter.android.view

import android.content.Context
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory


/**
 * create by itz on 2024/1/19 14:04
 * desc :
 **/
class AndroidViewFactory(private val messenger: BinaryMessenger) :
    PlatformViewFactory(StandardMessageCodec.INSTANCE) {

    override fun create(context: Context, viewId: Int, args: Any?): PlatformView {
        return AndroidViewController(context, messenger, viewId, args)
    }
}